<template>
	<view>
		<u-swiper :list="service.data" @click='click'></u-swiper>
	</view>
</template>

<script>
	export default {
		props: {
			service: {
				type: Object,
				default: null
			},
		},
		methods: {
			click(e) {
				this.service.itemClick(this.list[e])
			}
		}
	}
</script>

<style lang="scss" scoped>

	// /* uni-app */
	// /deep/ .uni-swiper-dots-horizontal{
	//     left: 90%;
	// }

	// /* wx */
	// /deep/ wx-swiper .wx-swiper-dots-horizontal{
	//     left: 90%;
	// }
</style>
